package Test3;

public class Test {
    public static void main(String[] args) {
        Book book=new Book("计算机",20);
        if(book.getPageNum()<200){
            System.out.println("错误信息");
            return;
        }
        System.out.println("title:" + book.getTitle() +
                '\n'+"pageNum:" + book.getPageNum());
    }
}
